package com.ph.irp.base.bom.dao;

import java.util.List;

import com.ph.irp.model.PBaseBomgroup;

public interface BOMGroupDAO {
	public List<PBaseBomgroup> getAllBOMGroup() throws Throwable;

	public List<PBaseBomgroup> getAllBOMGroupExcludeBOMGroupID(String editBOMGroupID) throws Throwable;
	
	public String getBOMGroupNameByBOMGroupID(int groupID) throws Throwable;
	
	public List<PBaseBomgroup> getBOMGroupByBOMParentGroupId(int groupID) throws Throwable;
	

	public List<PBaseBomgroup> getBOMGroupByCodeAndName(String code, String name)
			throws Throwable;

	public void addBOMGroup(String bomGroupCode, String bomGroupName,
			String bomGroupParentID) throws Throwable;

	public PBaseBomgroup getBOMGroupByBOMGroupId(String BOMGroupID)
			throws Throwable;
	
	
	public   void editBOMGroup(PBaseBomgroup editBOMGroup) throws Throwable;
	
	public void deleteBOMGroupByBOMGroupIDs(String deletedBOMGroupID)throws Throwable;
	
	public void deleteBOMGroupByBOMGroupID(String deletedBOMGroupID)throws Throwable;
}
